﻿using ContactCenter.Core.DomainModel;
using FluentNHibernate.Mapping;

namespace ContactCenter.Persistence.NH.Mapping
{
    public class AddressInfoMap : ComponentMap<AddressInfo>
    {
        public AddressInfoMap()
        {
            Map(x => x.Address);
            Map(x => x.PostalCode);
            Map(x => x.City);
            Map(x => x.Region);
        }
    }
}
